<?php
if (isset($_GET['linkto'])){
	$get = $_GET['linkto']; 
	if(!empty($get)){
		$linkto = $_GET['linkto'];
		switch($linkto){
			case 'twitter':
				header('Location: https://twitter.com/mp77');
				break;
			case 'instagram':
				header('Location: http://instagram.com/mark0793');
				break;
			case 'pinterest':
				header('Location: https://pinterest.com/mark0793/');
				break;
			case 'flickr':
				header('Location: http://www.flickr.com/photos/markpost/');
				break;
			case 'tumblr':
				header('Location: http://mark0793.tumblr.com');
				break;
			default:
				header('Location: http://www.mark-post.nl/');
				break;
		}//switch
	}//if
	else{
		header('Location: http://www.mark-post.nl/');
	}//else
}else{
	header('Location: http://www.mark-post.nl/');
}//else

?>